package top.melody.ecommerce.platform.api.domain.order;

import java.io.Serializable;

import top.melody.ecommerce.common.util.reflect.ReflectUtil;

import java.util.Date;


/**
 * @author: melody
 * @groupId:rd
 * @createdate:2016-10-18
 * @mail: blentle.huan.ren@gmail.com
 * @description:
 * @since: 1.0
 */
public class OrderContact implements Serializable {

    /* 自增ID */
    private Integer contactId;
    /* 下单人ID，关联ACCOUNT表主键 */
    private Integer accountId;
    /* 订单号，关联ORDER_INFO表主键 */
    private String orderId;
    /* 手机号 */
    private String mobilePhone;
    /* 联系人姓名 */
    private String contactName;
    /* 邮编 */
    private String postCode;
    /* 配送省ID，关联SYS_REGIONS表主键 */
    private Integer provinceId;
    /* 配送省名称，冗余 */
    private String provinceName;
    /* 配送市ID，关联SYS_REGIONS表主键 */
    private Integer cityId;
    /* 配送市名称，冗余 */
    private String cityName;
    /* 配送区ID，关联SYS_REGIONS表主键 */
    private Integer countyId;
    /* 配送区名称，冗余 */
    private String countyName;
    /* 配送详细街道地址 */
    private String addressDetail;
    /* 后台运营人员操作ID */
    private String operatorId;
    /* 有效：VALID;无效:INVALID */
    private String validStatus;
    /* 已删除：Y;未删除：N */
    private String removeStatus;
    /* 创建时间 */
    private Date createDate;
    /* 最近更新时间 */
    private Date updateDate;

    public OrderContact() {

    }

    public OrderContact(Integer contactId, Integer accountId, String orderId, String mobilePhone, String contactName, String postCode, Integer provinceId, String provinceName, Integer cityId, String cityName, Integer countyId, String countyName, String addressDetail, String operatorId, String validStatus, String removeStatus, Date createDate, Date updateDate) {
        this.contactId = contactId;
        this.accountId = accountId;
        this.orderId = orderId;
        this.mobilePhone = mobilePhone;
        this.contactName = contactName;
        this.postCode = postCode;
        this.provinceId = provinceId;
        this.provinceName = provinceName;
        this.cityId = cityId;
        this.cityName = cityName;
        this.countyId = countyId;
        this.countyName = countyName;
        this.addressDetail = addressDetail;
        this.operatorId = operatorId;
        this.validStatus = validStatus;
        this.removeStatus = removeStatus;
        this.createDate = createDate;
        this.updateDate = updateDate;
    }

    public Integer getContactId() {
        return contactId;
    }

    public void setContactId(Integer contactId) {
        this.contactId = contactId;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getPostCode() {
        return postCode;
    }

    public void setPostCode(String postCode) {
        this.postCode = postCode;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public Integer getCountyId() {
        return countyId;
    }

    public void setCountyId(Integer countyId) {
        this.countyId = countyId;
    }

    public String getCountyName() {
        return countyName;
    }

    public void setCountyName(String countyName) {
        this.countyName = countyName;
    }

    public String getAddressDetail() {
        return addressDetail;
    }

    public void setAddressDetail(String addressDetail) {
        this.addressDetail = addressDetail;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public String getValidStatus() {
        return validStatus;
    }

    public void setValidStatus(String validStatus) {
        this.validStatus = validStatus;
    }

    public String getRemoveStatus() {
        return removeStatus;
    }

    public void setRemoveStatus(String removeStatus) {
        this.removeStatus = removeStatus;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    public String toString() {
        return ReflectUtil.fieldsToString(this);
    }
}
